{extend name="public/iframe" /}
{block name="top"}
{:load_assets('select2,form,datatable,bootstrap-table-treegrid','css')}
{/block}
{block name="content"}
<div class="card">
    <div class="card-body">
        <div class="tab-content">
            <div class="tab-pane fade active show" id="tab1" role="tabpanel">
                <div id="toolbar">
                    <a href="javascript:;" class="btn btn-primary btn-sm btn-add" data-title="添加权限规则" data-url="{:url('add')}"><i class="fa fa-plus-circle"></i>添加</a>
                    <!-- <a href="javascript:;" class="btn btn-primary btn-sm btn-edit-multi need-checked"><i class="fas fa-pencil-alt"></i>修改</a> -->
                    <a href="javascript:;" class="btn btn-danger btn-sm btn-del-multi need-checked"><i class="fa fa-trash-alt"></i>删除</a>
                    <a href="javascript:;" class="btn btn-dark btn-sm btn-toggle-all"><i class="fas fa-angle-double-down"></i>全部展开</a>
<!--                    <a href="javascript:;" class="btn btn-info btn-sm btn-refresh-menu" data-bs-toggle="tooltip" title="同步更新左侧菜单栏的菜单" data-bs-dismiss="click"><i class="fas fa-circle-notch"></i>更新菜单</a>-->
                </div>
                <table id="datatable"  data-operate-edit="true" data-operate-del="true">

                </table>
            </div>
        </div>
    </div>
</div>
{/block}
{block name="bottom"}
{:load_assets('select2,form,datatable,bootstrap-table-treegrid','js')}
{:load_module_assets()}
{/block}